import request from '@/utils/request'

// 查询留学收藏列表
export function listAbroadapplicationcollect(query) {
  return request({
    url: '/member/abroadapplicationcollect/list',
    method: 'get',
    params: query
  })
}

// 查询留学收藏详细
export function getAbroadapplicationcollect(id) {
  return request({
    url: '/member/abroadapplicationcollect/' + id,
    method: 'get'
  })
}

// 新增留学收藏
export function addAbroadapplicationcollect(data) {
  return request({
    url: '/member/abroadapplicationcollect',
    method: 'post',
    data: data
  })
}

// 修改留学收藏
export function updateAbroadapplicationcollect(data) {
  return request({
    url: '/member/abroadapplicationcollect',
    method: 'put',
    data: data
  })
}

// 删除留学收藏
export function delAbroadapplicationcollect(id) {
  return request({
    url: '/member/abroadapplicationcollect/' + id,
    method: 'delete'
  })
}

// 导出留学收藏
export function exportAbroadapplicationcollect(query) {
  return request({
    url: '/member/abroadapplicationcollect/export',
    method: 'get',
    params: query
  })
}